//Copyright 2012 Trevin Liberty
//GNU GPL v3
//Author: Trevin Liberty
//
//Base class for all Sprites. 

#ifndef SPRITE_H
#define SPRITE_H

#include "../Structs.h"
#include "../Point.h"

//See comment at top of file for a complete description
class Sprite {
private:
protected:
	Point<float> pos;

	bool ok;
public:
	Sprite() : ok(false) {};

	//Virtual function to update the sprite.
	virtual void update() = 0;

	//Virtual function to draw the sprite.
	virtual void draw(Point<float> cameraPos) = 0;
};

#endif